/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package knowledgebase.model;

/**
 *
 * @author eugene
 */
public class SimpleGlobalPermission {
    private Long roleId;
    private boolean read;
    private boolean edit;
    private boolean create;
    private boolean remove;

    public SimpleGlobalPermission() {
    }

    public SimpleGlobalPermission(Long roleId, boolean read, boolean edit, boolean create, boolean remove) {
        this.roleId = roleId;
        this.read = read;
        this.edit = edit;
        this.create = create;
        this.remove = remove;
    }

    public boolean isCreate() {
        return create;
    }

    public void setCreate(boolean create) {
        this.create = create;
    }

    public boolean isEdit() {
        return edit;
    }

    public void setEdit(boolean edit) {
        this.edit = edit;
    }

    public boolean isRead() {
        return read;
    }

    public void setRead(boolean read) {
        this.read = read;
    }

    public boolean isRemove() {
        return remove;
    }

    public void setRemove(boolean remove) {
        this.remove = remove;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    
}
